package com.tyylab.message.distribute.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("消息渠道配置（唯一消息等）")
public class MessageChannelConfig {

    private String id;

    private Timestamp createTime;

    private Timestamp updateTime;

    private Integer enable;

    @ApiModelProperty("是否支持唯一消息，默认不支持，兼容旧版")
    Integer isSupportUnique;

    @ApiModelProperty("消息分发频道")
    String channel;
}
